package com.sjh.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sjh.mapper.ISjh_mapper;
import com.sjh.vo.Bis_nurse_project;
import com.sjh.vo.Bis_nurse_type;






@Service
public class Sjh_service implements ISjh_service{
		@Autowired
		private ISjh_mapper mapper;
	@Override
	public List<Map> selectproject(Bis_nurse_project project) {
		
		return mapper.selectproject(project);
	}
	@Override
	public List<Bis_nurse_type> addtype() {
		
		return mapper.addtype();
	}
	@Override
	public void delect(String project_id) {
		mapper.delect(project_id);
		
	}
	@Override
	public void addproject(Bis_nurse_project project) {
		mapper.addproject(project);
		
	}
	@Override
	public Bis_nurse_project updateByid(String project_id) {
		
		return mapper.updateByid(project_id);
	}
	@Override
	public void update(Bis_nurse_project project) {
		mapper.update(project);	
	}
	@Override
	public Bis_nurse_project selectByid(String project_id) {
		
		return mapper.selectByid(project_id);
	}
	@Override
	public List<Map> qtselectBis(Bis_nurse_project project) {
		
		return mapper.qtselectBis(project);
	}
	@Override
	public Bis_nurse_project qtselectById(String project_id) {
		
		return mapper.qtselectById(project_id);
	}
}
